program IMClient;

uses
  Forms,
  UfrmMain in 'UfrmMain.pas' {frmMain},
  RLLibrary_Intf in '..\Server\RLLibrary_Intf.pas',
  UfrmInCall in 'UfrmInCall.pas' {frmInCall},
  Udatamodule in 'Udatamodule.pas' {dm: TDataModule},
  UfrmClientSelect in 'UfrmClientSelect.pas' {frmClientSelect},
  UfrmProductSelect in 'UfrmProductSelect.pas' {frmProductSelect},
  UfrmCallTask in 'UfrmCallTask.pas' {frmCallTask},
  ufrmLogin in 'ufrmLogin.pas' {frmLogin},
  UfrmClientManager in 'UfrmClientManager.pas' {frmClientManager},
  UfrmProductManager in 'F:\ronglian-crm\Source\Client\UfrmProductManager.pas' {frmProductManager},
  UfrmOrderDetailView in 'UfrmOrderDetailView.pas' {frmOrderDetailView};

{$R *.res}

begin
  Application.Initialize;
  Application.CreateForm(Tdm, dm);
  frmLogin:=TfrmLogin.Create(nil);
  frmLogin.ShowModal;
  if frmLogin.Tag =1 then
    Application.CreateForm(TfrmMain, frmMain);

  frmLogin.Free; 


  Application.Run;
end.
